projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abc8d6b
)
Tweak memory-report--format
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 11 Dec 2020 17:48:44 +0000
(18:48 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 11 Dec 2020 17:48:44 +0000
(18:48 +0100)
* lisp/emacs-lisp/memory-report.el (memory-report--format): Make
everything line up, even when there's "1023.4kB".
lisp/emacs-lisp/memory-report.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/memory-report.el
b/lisp/emacs-lisp/memory-report.el
index 58555fa9f0d582f8ed241809db7bd59b42211cbf..0184c7ed8a53fb52c4f7894a6fc84ed0352a40a0 100644
(file)
--- a/
lisp/emacs-lisp/memory-report.el
+++ b/
lisp/emacs-lisp/memory-report.el
@@
-234,7
+234,7
@@
by counted more than once."
(while (>= bytes 1024)
(setq bytes (/ bytes 1024.0))
(setq units (cdr units)))
- (format "%
5
.1f%s" bytes (car units))))
+ (format "%
6
.1f%s" bytes (car units))))
(defun memory-report--gc-elem (elems type)
(* (nth 1 (assq type elems))